package com.zhang.demo.presenter

import com.zhang.demo.contract.MvpView

/**
 * Every presenter in the app must either implement this interface or extend BasePresenter
 * indicating the MvpView type that wants to be attached with.
 */
interface Presenter<V : MvpView?> {
    fun attachView(mvpView: V)
    fun detachView()
}